var JSZip=require('jszip')
var http =  require("http");
var url = require("url")// 解析地址


var server =  http.createServer(function(req,res){
  var Url = url.parse(req.url);//解析url
  res.status = 200;// 设置状态码
  res.setHeader("Content-Type","application/json")
  const jszip = new JSZip()
  console.log(jszip)
  res.end(`{"122":121321231}`)
})

server.listen("8888",function(){
  console.log('localhost:8888/')
  console.log("服务器启动完毕")
})
